package com.ipfsemc.ipfsemc.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel(value ="UserInfo",description = "用户信息")
public class UserInfo {
    @ApiModelProperty(notes = "ID")
    private String userId;

    @ApiModelProperty(notes = "用户名")
    private String userName;

    @ApiModelProperty(notes = "用户头像")
    private String image;

    @ApiModelProperty(notes = "奖励金")
    private BigDecimal bounty;

    @ApiModelProperty(notes = "冻结奖励金")
    private BigDecimal frozen;

    @ApiModelProperty(notes = "fil币")
    private BigDecimal fil;

    @ApiModelProperty(notes = "云豆")
    private BigDecimal yun;

    @ApiModelProperty(notes = "电话号码")
    private String phone;

    @ApiModelProperty(notes = "累计收益的fil币")
    private String toPhone;

    @ApiModelProperty(notes = "等级",readOnly = true)
    private String levelName;

    @ApiModelProperty(notes = "矿池空间",example = "2")
    private Integer myspace;   //矿池空间

    @ApiModelProperty(notes = "用户的升力值",example = "2")
    private Integer sumUp;

    @ApiModelProperty(notes = "算力")
    private BigDecimal hashrate;   //算力

//
//    @ApiModelProperty(notes = "矿机数量",example = "3")
//    private Integer spaceNum;

    @ApiModelProperty(notes = "报备状态",example = "2")
    private Integer userState;

    @ApiModelProperty(notes = "推荐奖励",example = "2")
    private Double recomAward ;

    @ApiModelProperty(notes = "托管费",example = "2")
    private Double trusteeAward ;

    @ApiModelProperty(notes = "等级ID")
    private Integer levelId;

    @ApiModelProperty(notes = "会员等级")
    private Integer type;

    @ApiModelProperty(notes = "验证码")
    private String code;



}